
package com.idealighter.game.games.zjh.message;

import com.baidu.bjf.remoting.protobuf.FieldType;
import com.baidu.bjf.remoting.protobuf.annotation.Protobuf;

import com.idealighter.game.core.annotation.ResMsg;
import com.idealighter.game.message.ModuleMsgIdConstant;
import com.idealighter.game.message.core.ResMessage;

import java.util.ArrayList;
import java.util.List;

import lombok.Data;

/**
 * 看牌结果 .
 *
 */
@ResMsg(ModuleMsgIdConstant.Zjh.RES_SEE_CARD)
@Data
public class ResSeeCardMsg implements ResMessage {
  @Protobuf(order = 1)
  private int id = ModuleMsgIdConstant.Zjh.RES_SEE_CARD;
  // 牌型(0:235,1:单张,2:对子,3:顺子,4:金华,5:顺金,6:豹子)
  @Protobuf(order = 2)
  private int cardsType;
  // 牌
  @Protobuf(fieldType = FieldType.INT32, order = 3)
  private List<Integer> cards = new ArrayList<>();
}
